<template>
    <div class="box">
        <img :src="Img1" alt="" class="Img1">
        <button class="button1" @click="GotoLogin">欢迎使用</button>
    </div>
</template>

<script setup lang="ts" name="GotoPage">
import router from "@/router";
import Img1 from "../yyp-component/Imgs/9.jpg"

const GotoLogin = () => {
    router.push("/login")
}

</script>

<style scoped>
.box{
    position: relative;
}
.Img1{
width: 100%;
height: 100%;
}
.button1{
    position: absolute;
    left: 93px;
    top: 600px;
    width: 190px;
    height: 40px;
    line-height: 20px;
    border-radius: 5px 5px 5px 5px;
    background-color: rgba(117,187,117,1);
    color: white;
    font-size: 14px;
    text-align: center;
    font-family: Roboto;
    border: 1px solid rgba(5,5,5,0.08);
}
</style>